

<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="" charset="utf-8">
<link rel="stylesheet" type="text/css" href="JTrac_files/layout.css">
<title>Test online</title>
</head>
<body>
	<div id="wrapper">
		<%@include file="template.jsp"%>

		<div id="cauhoi">
			<div class="title">
				<h2 style="color: white;">LIST ALL OF QUESTIONS IN DATABASE</h2>
			</div>
			<div class="noidung">
				<table width="635" border="1" cellpadding="0" cellspacing="0">
					<tr bgcolor="#483D8B">
						<td align="center" style="color: white;">ID question</td>
						<td align="center" style="color: white;">Question</td>
						<td align="center" style="color: white;">Answer</td>
					</tr>
					 <ol>
						<s:iterator value="listStructTest" >
							<tr bgcolor="#696969">
								<td align="center"><s:property value="question.questionId"/></td>
								<td align="center"><s:property value="question.questionText"/></td>
								<td align="center">	
								   <ol>
										<s:iterator value="listAnswer">

											<li><s:property /> <s:form name="correctAnswer">
													       <s:checkbox name="choiceAnswer" list="{' '}" /></s:form>  						
											</li>

										</s:iterator>
									</ol> <%-- 								    <s:url id="myUrl" action="supply">
										<s:param name="questionId" value="questionId" />
									</s:url> 
									<s:a href="%{myUrl}">
										<s:property value="questionId" />
									</s:a> --%>
								</td>
							</tr>
						</s:iterator>
					</ol>
				</table>
				
			<s:form action="finishAction">
			    <s:hidden name="numQuestionBean" value="%{testInformation.numQuestion}"  />
				<s:submit value="finish"></s:submit>
			</s:form>
			</div>

		</div>
	</div>


</body>
</html>